package util
{
	public class CatalogueFmt
	{
		private var header:String;
		
		//constructor
		/*param:
		*title------标题
		*/
		
		public function CatalogueFmt(title:String)
		{
			
			header='<head>'+
				'<link rel="stylesheet" href="http://127.0.0.1/flex/jquery.mobile-1.0b1.min.css" />'+
				'<script src="http://127.0.0.1/flex/jquery-1.6.1.min.js"></script>'+
				'<script src="http://127.0.0.1/flex/jquery.mobile-1.0b1.min.js"></script>'+
				'</head>'+
				'<body><div data-role="page" data-theme="b">'+
				'<div data-role="header" data-theme="b"> '+
					'<h1>'+title+'</h1>'+
				'</div>'+
				'<div data-role="collapsible">'+
				
				'<h2>目录</h2>'+
				'<div data-role="content" data-theme="b">'+
		
				'<ul data-role="listview" data-filter="true" data-inset="true">';
		}
		public function getHeader():String
		{
			return header;
		}
	}
}